

import Layout from '@/layout'

const bookRouter = {
  path: '/book',
  component: Layout,
  redirect: '/book/list',
  name: 'Book',
  meta: {
    title: 'book',
    icon: 'book'
  },
  children: [
    {
      path: 'brandlist',
      component: () => import('@/views/brand/list'),
      name: 'brandList',
      meta: { title: 'brandList' }
    },
    {
      path: 'booktypelist',
      component: () => import('@/views/booktype/list'),
      name: 'BookTypeList',
      meta: { title: 'booktypeList' }
    },
    {
      path: 'list',
      component: () => import('@/views/book/list'),
      name: 'BookList',
      meta: { title: 'bookList' }
    },
  ]
}
export default bookRouter
